import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './config/vant'
import 'normalize.css' // 样式统一表
import './common/style/common.scss'
import api from './axios'

Vue.config.productionTip = false
Vue.prototype.$api = api
// vconsole
if (process.env.NODE_ENV !== 'production') {
  var VConsole = require('vconsole')
  var vcon = new VConsole()
  Vue.use(vcon)
}

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
